<a href="%(href)s" class="thumb" target="_blank"><img src="%(thumb)s" class="thumb"></a>